package com.youlai.system.converter;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.system.model.entity.SocialSecurity;
import com.youlai.system.model.form.SocialSecurityForm;
import com.youlai.system.model.vo.SocialSecurityVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface SocialSecurityConverter {
    Page<SocialSecurityVO> entity2Page(Page<SocialSecurity> SocialSecurityPage);

    SocialSecurity form2Entity(SocialSecurityForm SocialSecurityForm);

    SocialSecurityForm entity2Form(SocialSecurity entity);


}
